Developer --> Technical Publications
PATH Hardware Documentation > Device Managers and Drivers > ATA Devices > ATA Device Software Guide


Prime Routine

The prime routine performs logical block read and write operations to a specified volume with automatic retries on errors. The driver accepts either the standard 32-bit address or a 64-bit large volume address, both of which must be aligned on a 512 byte boundary representing a logical block address on the volume. The prime routine performs either a read or write command as specified by the caller.

RESULT CODES

noErr

0 Successful completion, no error occurred

ioErr

-36 I/O error

paramErr

-50 Invalid parameter specified

nsDrvErr

-56 No such drive installed

© 1999 Apple Computer, Inc. — (Last Updated 30 Oct 97)

Previous | Back Up One Level | Next | Show Frames | Hide Frames